home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_libgtop.idb / usr / freeware / include / glibtop / parameter.h.z / parameter.h
Encoding:
C/C++ Source or Header  |  1999-07-16  |  1.7 KB  |  52 lines

  1. /* Copyright (C) 1998-99 Martin Baulig
  2.    This file is part of LibGTop 1.0.
  3.  
  4.    Contributed by Martin Baulig <martin@home-of-linux.org>, April 1998.
  5.  
  6.    LibGTop is free software; you can redistribute it and/or modify it
  7.    under the terms of the GNU General Public License as published by
  8.    the Free Software Foundation; either version 2 of the License,
  9.    or (at your option) any later version.
  10.  
  11.    LibGTop is distributed in the hope that it will be useful, but WITHOUT
  12.    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13.    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14.    for more details.
  15.  
  16.    You should have received a copy of the GNU General Public License
  17.    along with LibGTop; see the file COPYING. If not, write to the
  18.    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  19.    Boston, MA 02111-1307, USA.
  20. */
  21.  
  22. #ifndef __GLIBTOP_PARAMETER_H__
  23. #define __GLIBTOP_PARAMETER_H__
  24.  
  25. #include <glibtop.h>
  26. #include <glibtop/open.h>
  27.  
  28. BEGIN_LIBGTOP_DECLS
  29.  
  30. #define GLIBTOP_PARAM_METHOD        1
  31. #define GLIBTOP_PARAM_FEATURES        2
  32. #define GLIBTOP_PARAM_COMMAND        3
  33. #define GLIBTOP_PARAM_HOST        4
  34. #define GLIBTOP_PARAM_PORT        5
  35. #define GLIBTOP_PARAM_ERROR_METHOD    6
  36. #define GLIBTOP_PARAM_REQUIRED        7
  37.  
  38. #define glibtop_get_parameter(p1,p2,p3)    glibtop_get_parameter_l(glibtop_global_server,p1,p2,p3)
  39. #define glibtop_set_parameter(p1,p2,p3) glibtop_set_parameter_l(glibtop_global_server,p1,p2,p3)
  40.  
  41. size_t
  42. glibtop_get_parameter_l (glibtop *server, const unsigned parameter,
  43.              void *data_ptr, size_t data_size);
  44.  
  45. void
  46. glibtop_set_parameter_l (glibtop *server, const unsigned parameter,
  47.              const void *data_ptr, size_t data_size);
  48.  
  49. END_LIBGTOP_DECLS
  50.  
  51. #endif
  52.